
<style lang="scss" scoped>
</style>

<template>
    <div>你好，世界</div>
</template>

<script>
    let myTest = {
        methods: {
            hello () {
                console.log('ninini');
            }      
        },
        created () {
            console.log('混合对象的钩子被调用')
        }
    };


    export default {
        name: 'app',
        data () {
            return {
            }
        },
        methods: {
            hello () {
                console.log('这是，我的你好世界');
            }
        },
        mixins: [myTest],
        mounted () {
        },
        created () {
            console.log('组件的钩子被调用')
        }
    }
</script>
